#ifndef MGAME_H
#define MGAME_H

#include <QMainWindow>
#include<qpainter.h>

namespace Ui {
class Mgame;
}

class Mgame : public QMainWindow
{
    Q_OBJECT

signals:
    void showmain();//发射跳转信号

public:
    explicit Mgame(QWidget *parent = 0);
    ~Mgame();
    void paintEvent(QPaintEvent *event);
private slots:
    void on_pushButton_clicked();

    void on_timeEdit_editingFinished();

private:
    Ui::Mgame *ui;
};

#endif // MGAME_H
